
<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">线路编号</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="lineId"  lay-verify="lineId" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">团名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="name"  lay-verify="password" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">人数</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="number"  lay-verify="name" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">最小成团人数</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="minnumber"  lay-verify="name" placeholder="请输入" autocomplete="off" class="layui-input">
            </script>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">选择导游</label>
            <div class="layui-input-block">
                <select name="tourName" lay-verify="name" class="daoyou" >
                    <option value=""></option>

                </select>
            </div>
        </div>
    <div class="layui-form-item">
        <label class="layui-form-label">开团时间</label>
        <div class="layui-input-inline">
            <div class="layui-input-inline">
                <input type="text" name="startTime" id="date" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">成团截止时间</label>
        <div class="layui-input-inline">
            <div class="layui-input-inline">
                <input type="text" name="cutTime" id="date1" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">成团状态</label>
        <div class="layui-input-block">
            <input type="radio" name="status" value="0" title="√" >
            <input type="radio" name="status" value="1" title="×" checked="">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'form'], function(){
        var $ = layui.$
            ,form = layui.form;

    });

$(function () {
  //  parent.tourList;
    for (var i = 0;i< parent.tourList.length;i++){
        $(".daoyou").append("<option value="+parent.tourList[i].tourName+">"+parent.tourList[i].tourName+"</option>")
    }

})
</script>